#include "String.h"
#include <iostream>

int main(int argc, char ** argv) {
	String s;// String s = String();
	std::cout << "s = " << s << std::endl;

	String s1("Hello, world!"); // String s1 = "Hello, world!";
	std::cout << "s1 = " << s1 << std::endl;

	String copy_s( s ); // String copy_s = s;
	std::cout << "copy_s = " << copy_s << std::endl;

	String sum;
	sum = "C++";
	sum += " is the best language!";

	std::cout << sum << std::endl;

	sum[0] = 'D'; // operator : write

	const String const_string("a");

	std::cout << const_string[0]; // operator : read

	return 0;
}
